package com.wpen.unit.web.dto.system;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "菜单-树形-Item")
@Data
@EqualsAndHashCode(callSuper = false)
public class MenuTreeRowResponse implements Serializable {
    private static final long serialVersionUID = 3748013572408380531L;

    @Schema(description = "组编号")
    private String group;
    @Schema(description = "菜单编码")
    private String menuId;
    @Schema(description = "菜单父ID")
    private String parentId;
    @Schema(description = "菜单名称")
    private String name;
    @Schema(description = "菜单描述")
    private String menuDesc;
    @Schema(description = "菜单地址")
    private String url;
    @Schema(description = "菜单图片")
    private String icon;
    @Schema(description = "顺序号")
    private Integer orderNum;
    @Schema(description = "参数")
    private String params;
    @Schema(description = "子菜单")
    List<MenuTreeRowResponse> list = new ArrayList<>();
}